import 'package:get/get.dart';

class HomeController extends GetxController {
  final currentIndex = 0.obs;

  final data = [
    {
      'title': '冬日的小企鹅',
      'img':
          'http://gips1.baidu.com/it/u=3874647369,3220417986&fm=3028&app=3028&f=JPEG&fmt=auto?w=720&h=1280'
    },
    {
      'title': '橙子',
      'img':
          'http://gips1.baidu.com/it/u=1647344915,1746921568&fm=3028&app=3028&f=JPEG&fmt=auto?w=720&h=1280'
    },
    {
      'title': '一个可爱的小男孩骑着金鱼',
      'img':
          'http://gips0.baidu.com/it/u=3560029307,576412274&fm=3028&app=3028&f=JPEG&fmt=auto?w=960&h=1280'
    },
    {
      'title': '美丽的海边',
      'img':
          'http://gips3.baidu.com/it/u=764883555,2569275522&fm=3028&app=3028&f=JPEG&fmt=auto?w=960&h=1280'
    },
    {
      'title': '生活在海滩上，与小鳄梨撒在海滩上更美好',
      'img':
          'http://gips3.baidu.com/it/u=453716532,1843928978&fm=3028&app=3028&f=JPEG&fmt=auto?w=960&h=1280'
    },
  ];
}
